package com.bysc.cmsservice.factory;

import com.bysc.cmsservice.strategy.ActivityCreatorStrategy;
import com.bysc.cmsservice.strategy.ChatterStrategy;
import com.bysc.cmsservice.strategy.SystemContentStrategy;

public class SystemContentStrategyFactory {
    public static SystemContentStrategy createStrategy(String scene) {
        switch (scene) {
            case "activityCreator":
                return new ActivityCreatorStrategy();
            case "chatter":
                return new ChatterStrategy();
            default:
                throw new IllegalArgumentException("未知的场景: " + scene);
        }
    }
}